home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Asim CDFS 3.0
/
Asim CDFS.adf
/
Install-AsimCDFS
< prev
next >
Wrap
Text File
|
1996-08-29
|
64KB
|
2,097 lines
;$VER: AsimCDFS Install 3.8 (29.8.96)
;Copyright ©1993-1996 Asimware Innovations Inc.
(onerror (
(makeassign "AsimCDFSInst")
(makeassign "AsimCDFS")
(makeassign "AsimCDFS_Buffer")
))
(set #typeAMIGA 0)
(set #typeCDTV 1)
(set #typeCD32 2)
(set #typeATAPI 3)
(set #typeFLYER 4)
(set #autoMount 1)
(set #CDDefault_NC "CD0" )
(set #isPioneer 0)
(set #isNakamichi 0)
(set #isPDCD 0)
(set #is4X4 0)
(set #PioneerSeparate 0)
(set #wbversion (getversion "libs:version.library"))
(set #wbversion (/ #wbversion 65536) )
(set #SCSIDevice "scsi.device")
(set #SCSIUnit 4)
(set @default-dest "SYS:AsimCDFS")
(set #echotxt "echo \"Mounting AsimCDFS...\"\n" )
(complete 0)
;*****
; Please! Use Novice!
(if (> @user-level 0)
(message (cat "Installation notes\n"
"------------------\n\n"
"We have noticed problems with the Installer "
"program when using Expert or Intermediate mode. The "
"general Novice install is recommended for most, if not "
"all situations.\n"
))
)
;*****
; Need WB 2.0 or higher.
(if (< #wbversion 37)
(abort "\n\nAmigaDOS 2.0 or higher is required for AsimCDFS 3.x. "
"\n\nAn upgrade will be needed for your Amiga."
"\n\nYou are currently running version " #wbversion ".")
)
;*****
; Lock our install disk
(askdisk
(prompt "Please insert the disk labeled \"AsimCDFS_v3_Install\".")
(help "AsimCDFS FileSystem and other utilities will be copied "
"from this disk into your system.")
(dest "AsimCDFS_v3_Install")
(newname "AsimCDFSInst")
)
;*****
; Need lots of space on sys volume for devs, l, etc.
(set #installsize 0)
(set #installsize (+ #installsize (getsize "AsimCDFSInst:l/AsimCDFS") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:devs/asimcdfs.devce") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:devs/asim_atapi.device") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:AsimTunes") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:DiscChanger") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:AsimCDFS_Prefs") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:SimBoot") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:PD_Format") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:CD³²_Prefs") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:CDTV_Prefs") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:DefaultCDFS_Prefs.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:DefaultCDTV_Prefs.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:Audio_Track.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:Audio_Disk.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:Audio_Drawer.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:PhotoCD_Disk.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:PhotoCD_Drawer.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:Raw_Sector.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:Raw_Disk.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:MPEG_Track.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:MPEG_Disk.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:DefaultCD³²_Prefs.info") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:Storage/DOSDrivers/CD0") ))
(set #installsize (+ #installsize (getsize "AsimCDFSInst:Storage/DOSDrivers/CD0.info") ))
(if (< (getdiskspace "SYS:") #installsize)
(abort "\n\nApproximately " (/ #installsize 1024) "K of disk space is needed on your SYS: volume."
"\n\nYou only have " (/ (getdiskspace "SYS:") 1024) "K free.\n\n"
"Delete or transfer some files from the SYS: volume and try again." )
)
(set #theirlevel @user-level )
(user 2)
(complete 3)
;*****
; Ask if CDTV (1) , CD³² (2) or Amiga (0)
(set #IsAmiga
(askchoice
(prompt "\nAsimCDFS v3.6c Install\n--------------------\n\Please describe your setup:" )
(default 0 )
(choices "Amiga with SCSI CD-ROM" "CDTV/A570" "CD³²" "ATAPI CD-ROM on A4000/A1200" "NewTek Flyer with CD-ROM (unit #6) on SCSI-C" )
(help "\n\nIf AsimCDFS is being used in conjunction with a CDTV/A570 unit "
"then note this with the CDTV/A570 selection.\n\n"
"If AsimCDFS is being used with a CD³² unit, then note this with the CD³² selection.\n\n"
"Otherwise, you will be installing AsimCDFS on an Amiga equipped "
"with a SCSI or IDE controller and SCSI or ATAPI CD-ROM drive." )
)
)
(complete 6)
;*****
; Is CDTV
(if (= #IsAmiga #typeCDTV)
((set #CDDefault_NC "CD1" )
(set #SCSIDevice "cdtv.device")
(set #SCSIUnit 0)
)
)
;*****
; Is CD³²
(if (= #IsAmiga #typeCD32)
((set #CDDefault_NC "CD1" )
(set #SCSIDevice "cd.device")
(set #SCSIUnit 0)
)
)
;*****
; Flyer
(if (= #IsAmiga #typeFLYER)
(set #CDDefault_NC "CD6" )
)
;*****
; If amiga, ask if using Pioneer or other
(if (= #IsAmiga #typeAMIGA)
(set #isPioneer
(askbool
(prompt "\n\n\nIs your CD-ROM drive a Pioneer DRM-60x?" )
(default 0)
(choices "Pioneer DRM-60x" "Other CD-ROM")
(help "\n\nIf you are using AsimCDFS with a Pioneer DRM-60x, indicate this "
"in your choice. This drive is a high-performance 6-disc minichanger and "
"is not common."
"\n\nOtherwise select Other CD-ROM." )
)
)
)
;*****
; If ispioneer==0, ask if using Nakamichi or other
(if (and (= #isPioneer 0) (= #IsAmiga #typeAMIGA))
(set #isNakamichi
(askbool
(prompt "\n\n\nIs your CD-ROM drive a Nakamichi MBR-7,\n a NEC 4xc or a NEC 2xc 7-disc CD-ROM changer?" )
(default 0)
(choices "MBR-7 / NEC 2xc, 4xc" "Other CD-ROM")
(help "\n\nIf you are using AsimCDFS with a Nakamichi MBR-7, a NEC 4xc or a NEC 2xc 7-disc CD-ROM changer, indicate this "
"in your choice. This drive is a high-performance 7-disc minichanger and "
"is not common."
"\n\nOtherwise select Other CD-ROM." )
)
)
)
;*****
; If ispioneer==0 & isnakamichi==0, ask if using PD/CD-ROM or other
(if (and (= #isNakamichi 0) (and (= #isPioneer 0) (= #IsAmiga #typeAMIGA)) )
(set #isPDCD
(askbool
(prompt "\n\n\nIs your drive a Panasonic LF-1000 PD/CD-ROM drive?\n(combination read/write optical drive and CD-ROM drive)" )
(default 0)
(choices "LF-1000 PD/CD-ROM" "Other CD-ROM")
(help "\n\nIf you are using AsimCDFS with a Panasonic PD/CD-ROM drive, indicate this "
"in your choice. This drive is a combination read/write optical drive and CD-ROM drive.\n\n"
"This drive is also bundled under 3rd party names such as Smart & Friendly and Toray.\n\n"
"\n\nOtherwise select Other CD-ROM." )
)
)
)
(if (= #isPDCD 1)
(message (cat "Panasonic LF-1000 PD/CD-ROM users\n"
"---------------------------------\n"
"Please ensure that your drive is set to the "
"\"Two LUN Mode\". This is done via jumper switches "
"on the back of the drive. Consult the manufacturer's "
"documentation for further information.\n\n"
"Also ensure that your SCSI controller is setup to "
"recognize LUNs."
)
)
)
;*****
; If ispioneer==0 & isnakamichi==0, ask if using PD/CD-ROM or other
(if (= #IsAmiga #typeATAPI)
(set #is4X4
(askbool
(prompt "\n\n\nIs your drive a NEC 4X4 4-disc ATAPI CD-ROM Changer?\n" )
(default 0)
(choices "NEC 4X4" "Other CD-ROM")
(help "\n\nIf you are using AsimCDFS with a NEC 4x4 ATAPI 4-disc CD-ROM Changer, indicate this "
"in your choice. This drive is a 1/2 height 5 1/2\" device.\n\n "
"\n\nOtherwise select Other CD-ROM." )
)
)
)
(complete 9)
(if (or #is4X4 (or #isPioneer #isNakamichi))
(
;*****
; ask if Pioneer/Nakamichi/NEC is separate or pooled
(set #PioneerSeparate
(askbool
(prompt "\n\nDo you wish to have separate devices mounted, or would you like all discs pooled into 1 device?\n\n" )
(default 0 )
(choices "Separate" "Pooled")
(help "\n\nIf you wish to have access to all discs simultaneously, then "
"select Separate, otherwise select Pooled -- in the latter case, "
"you can switch between the discs with DiscChanger." )
)
)
;*****
; If pioneer separate, ask for base name
(if #PioneerSeparate
((if